package com.dkm.ec.sale.persistence.entity;
import org.apache.commons.lang.builder.ToStringBuilder;

import com.dkm.base.api.annotion.IField;
import com.dkm.base.api.annotion.ITable;
import com.dkm.base.db.persistence.entity.AbstractPo;

/**
 * 对象功能:产品套餐构件 Tbl对象
 * 开发公司:SKG.COM
 * 开发人员:YuanJiaQiu
 * 创建时间:2015-08-13 10:52:54
 */
 @ITable(name="salePackageItem",code="skg_sale_package_item")
public class SalePackageItemTbl extends AbstractPo<String>{
	@IField(name="id",column="id_")
	protected String  id; 		/*构件ID*/
	@IField(name="prodId",column="prod_id_")
	protected String  prodId; 		/*产品套餐 ID*/
	@IField(name="skuId",column="sku_id_")
	protected String  skuId; 		/*产品套餐 SKU ID*/
	@IField(name="itemProdId",column="item_prod_id_")
	protected String  itemProdId; 		/*产品套餐构件 ID*/
	@IField(name="itemSkuId",column="item_sku_id_")
	protected String  itemSkuId; 		/*产品套餐构件 SKU ID*/
	@IField(name="itemCount",column="item_count_")
	protected Integer  itemCount; 		/*构件数量*/
	@IField(name="sort",column="sort_")
	protected Integer  sort; 		/*排序号*/
	
	public void setId(String id) 
	{
		this.id = id;
	}
	/**
	 * 返回 构件ID
	 * @return
	 */
	public String getId() 
	{
		return this.id;
	}
	public void setProdId(String prodId) 
	{
		this.prodId = prodId;
	}
	/**
	 * 返回 产品套餐 ID
	 * @return
	 */
	public String getProdId() 
	{
		return this.prodId;
	}
	public void setSkuId(String skuId) 
	{
		this.skuId = skuId;
	}
	/**
	 * 返回 产品套餐 SKU ID
	 * @return
	 */
	public String getSkuId() 
	{
		return this.skuId;
	}
	public void setItemProdId(String itemProdId) 
	{
		this.itemProdId = itemProdId;
	}
	/**
	 * 返回 产品套餐构件 ID
	 * @return
	 */
	public String getItemProdId() 
	{
		return this.itemProdId;
	}
	public void setItemSkuId(String itemSkuId) 
	{
		this.itemSkuId = itemSkuId;
	}
	/**
	 * 返回 产品套餐构件 SKU ID
	 * @return
	 */
	public String getItemSkuId() 
	{
		return this.itemSkuId;
	}
	public void setItemCount(Integer itemCount) 
	{
		this.itemCount = itemCount;
	}
	/**
	 * 返回 构件数量
	 * @return
	 */
	public Integer getItemCount() 
	{
		return this.itemCount;
	}
	public void setSort(Integer sort) 
	{
		this.sort = sort;
	}
	/**
	 * 返回 排序号
	 * @return
	 */
	public Integer getSort() 
	{
		return this.sort;
	}
	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() 
	{
		return new ToStringBuilder(this)
		.append("id", this.id) 
		.append("prodId", this.prodId) 
		.append("skuId", this.skuId) 
		.append("itemProdId", this.itemProdId) 
		.append("itemSkuId", this.itemSkuId) 
		.append("itemCount", this.itemCount) 
		.append("sort", this.sort) 
		.toString();
	}
}